<script setup>
const props = defineProps({
  showWatermark: {
    type: Boolean,
    default: false
  },
  text: {
    type: String,
    default: 'Copyright © 2024 Guangyang'
  }
})
</script>

<template>
  <n-watermark v-if="props.showWatermark" :content="props.text" cross fullscreen :font-size="16" :line-height="16" :width="384" :height="384" :x-offset="12" :y-offset="60" :rotate="-15" />
</template>
